/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.assg2.dao;

import com.movie.Owner;

/**
 *
 * @author Kevin
 */
public class DaoOwner extends GenericDao {

    public DaoOwner() {
        super(Owner.class);
    }

    public Owner findByUsername(String username) {
        return (Owner) findBy("username", username);
    }

    public Owner findByEmail(String email) {
        return (Owner) findBy("email", email);
    }
}
